package ru.hh.team02.chat.server;

import ru.hh.team02.chat.client.ClientRegistry;
import ru.hh.team02.chat.database.DatabaseServiceInterface;
import ru.hh.team02.chat.database.DatabaseServiceDerby;
import ru.hh.team02.chat.logger.SimpleLogger;
import ru.hh.team02.chat.messaging.SendingService;

public class Services {

    public static DatabaseServiceInterface dbService = new DatabaseServiceDerby();
    private static final String[] ROOM_NAMES = dbService.getAllRooms();
    public static ClientRegistry REGISTRY = new ClientRegistry(ROOM_NAMES);
    public static SendingService MESSENGER = new SendingService();

    public static final SimpleLogger ADMIN_LOGGER = new SimpleLogger();

}
